import type { ComponentProps, CSSProperties, ReactNode } from 'react'; import { CopyButton } from '../../Action/CopyButton'; import type { Prefixes } from './CodeContent'; type SnippetProps = { className?: string; children: string; /** * prefix display an element at the beginning of the snippet that is not copiable or selectable. * For `lines` prefix it will display the line number. * For `command` prefix it will display a `$` sign. */ prefix?: Prefixes; showText?: string; hideText?: string; 'data-testid'?: string; initiallyExpanded?: boolean; rows?: number; noExpandable?: boolean; onCopy?: () => void; style?: CSSProperties; helper?: ReactNode; label?: string; labelDescription?: ReactNode; 'aria-describedby'?: string; } & Pick, 'copyText' | 'copiedText'>; export declare function Snippet({ children, copyText, copiedText, showText, hideText, prefix, className, 'data-testid': dataTestId, initiallyExpanded, rows, noExpandable, onCopy, style, helper, label, labelDescription, 'aria-describedby': ariaDescribedBy, }: SnippetProps): import("react").JSX.Element; export declare namespace Snippet { var displayName: string; } export {}; //# sourceMappingURL=index.d.ts.map